<template>
    <div>
        <x-header :left-options="{showBack: false}">title</x-header>

        <h1>{{msg}}</h1>
        <a v-link="{name: 'demos'}">demos</a>
    </div>
</template>

<script>

    import XHeader from 'vux/src/components/x-header'
    export default{
        data(){
            console.log('$route===', this.$route)
            return {
                msg: 'hello vue'
            }
        },
        components: {
            XHeader
        }
    }
</script>
<style lang="less" rel="stylesheet/less" scoped>

</style>